﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ZLCMS.Web.UC
{
    public partial class UC_BaiduMap : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        public string JingDu
        {
            get { return TextBoxJingDu.Text; }
            set { TextBoxJingDu.Text = value; }
        }

        public string WeiDu
        {
            get { return TextBoxWeiDu.Text; }
            set { TextBoxWeiDu.Text = value; }
        }

        /// <summary>
        /// 是否可编辑
        /// </summary>
        public bool ReadOnly
        {
            get
            {
                return ViewState["ReadOnly"] == null ? false : (bool)ViewState["ReadOnly"];
            }
            set
            {
                ViewState["ReadOnly"] = value;
            }
        }
    }
}